package com.warm.base.design.b_state;

/**
 * @Date: 2019/11/27 14:48
 * @Author: LChuang
 * @Description:
 */
public class ConcreteStateA extends State{
    @Override
    public void handle(Context context) {
        //设置A的下一个状态是B
        System.out.println("A handle over!");
        context.setState(new ConcreteStateB());
        context.request();
    }
}
